package main

import (
	"lion-passport/api"
	"lion-passport/internal/dao"
	"lion-passport/internal/redis"
	"lion-passport/internal/utils/log"
)

func main() {
	log.Init()
	dao.InitMySql()
	redis.InitRedis()
	r := api.SetupRouter()
	r.Run(":9080") // Start the server on port 9080
}
